package com.googlecode.perfectable.eventable.routing;


public class Channel<M> extends BaseSource<M> implements Source<M>, Sink<M> {
	protected Channel() {
	}

	public static <X> Channel<X> create() {
		return new Channel<>();
	}

	@Override
	public void receive(M element) {
		publish(element);
	}

}
